import { Column, CreateDateColumn, Entity, PrimaryGeneratedColumn } from "typeorm";

@Entity({
    name: 'spider_keyword'
})
export class SpiderKeyword { 
    @PrimaryGeneratedColumn()
    id!: number;

    @Column()
    value!: string;

    @Column({
        default: 0,
        comment: '-1禁用 1启用'
    })
    status!: number;

    @CreateDateColumn({
        name: 'create_date'
    })
    create_date!: Date;

}
